package com.atguigu.exam.service;

import com.atguigu.exam.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * 轮播图服务接口
 */
public interface BannerService extends IService<Banner> {

    String uploadBannerImage(MultipartFile file)throws Exception;

    void addBanner(Banner banner) throws Exception;

    void updateBanner(Banner banner) throws Exception;
} 